const http = require('http')

let server = http.createServer((req,res)=>{
    let ran = Math.random() // 0~1
    res.end(ran.toString())
})

server.listen('3000',()=>{
    console.log("服务器启动成功：http://192.168.95.33:3000/");
})